package com.woniuxy.third.entity.subject;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.ArrayList;
import java.util.List;

//一级分类
@Data
@AllArgsConstructor
@NoArgsConstructor
@Alias("FirstSubject")
public class FirstSubject {
    private int id;
    private String title;
    private List<SecondSubject> children=new ArrayList<>();
}
